/**************************************************************************************
 *
 * @(#) LoginRequest.java
 * @Package com.jgdt.jgdtkasannong_university_gene_backend.dto
 **************************************************************************************/
package com.jgdt.jgdtkasannong_university_gene_backend.vo.user;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

/**
 * @description:
 * @author: huangAn
 * @createDate: 2025/04/18
 */
@Data
@Validated
public class LoginVo {
   /**
    * 用户名
    */
   @Schema(description = "用户名", example = "root")
   @NotBlank(message = "username cannot be empty!")
   private String username;
   /**
    * 密码
    */
   @Schema(description = "密码", example = "123456")
   @NotBlank(message = "password cannot be empty!")
   private String password;

}




